package com.sooth.system.role.mapper;

import com.dream.system.annotation.Mapper;
import com.dream.system.annotation.Param;
import com.dream.system.annotation.Sql;

@Mapper
public interface SysRoleMenuMapper {
    @Sql("""
            DELETE
            FROM
            	sys_role_menu
            WHERE
            	role_id =: roleId
            """)
    Integer deleteByRoleId(@Param("roleId") Long roleId);
}
